//
//  MXTwoViewController.m
//  MXNavigation_Example
//
//  Created by muxue on 2018/10/23.
//  Copyright © 2018年 暮雪. All rights reserved.
//

#import "MXTwoViewController.h"
#import <MXNavigation/UIBarButtonItem+Extention.h>
@interface MXTwoViewController ()

@end

@implementation MXTwoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"222";
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:[UIImage imageNamed:@"back"] action:^{
        NSLog(@"点击了导航栏左边按钮");
    }];
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem itemWithTitle:@"右边按钮" action:^{
        NSLog(@"点击了导航栏右边按钮");
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
